package com.chinasoft.config;


import com.chinasoft.advice.Test1wAdvice;
import org.springframework.context.annotation.*;

import java.util.Random;

@Configuration
@ComponentScan({"com.chinasoft.service"})
@Import({JdbcConfig.class, MybatisConfig.class, Test1wAdvice.class})
@EnableAspectJAutoProxy
public class AnnoConfig {
    @Bean
    public Random getRandom() {
        return new Random();
    }
}
